package com.jinyu.admin;

import cn.dev33.satoken.SaManager;
import com.jinyu.admin.utils.RedisUtils;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@Slf4j
@SpringBootApplication(scanBasePackages = "com.jinyu")
@MapperScan(basePackages = "com.jinyu.dao")
public class JinyuApplication {
    public static void main(String[] args) {
        SpringApplication.run(JinyuApplication.class, args);
        log.info("启动成功：Sa-Token配置如下：{}" , SaManager.getConfig());


    }

}
